package main

import (
	"fmt"
	"os"
)

func main() {
	var err error
	err = fmt.Errorf("aaa")
	defer func() {
		fmt.Println(err)
	}()
	dir, err := os.Getwd()
	fmt.Println(dir)

	file, err := os.Open("test")
	defer file.Close()
}
